﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cxx.Entity
{
    public class OrderInfo
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int Id { set; get; }

        /// <summary>
        /// 单号
        /// </summary>
        public string OrderCode { set; get; }

        /// <summary>
        /// 收货单位
        /// </summary>
        public string Receiver { set; get; }

        /// <summary>
        /// 金额
        /// </summary>
        public int Amount { set; get; }

        /// <summary>
        /// 明细
        /// </summary>
        public string Detail { set; get; }

        /// <summary>
        /// 已结
        /// </summary>
        public bool Paymented { set; get; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { set; get; }

        /// <summary>
        /// 时间戳
        /// </summary>
        public DateTime Time { set; get; }

        /// <summary>
        /// 有无单子
        /// </summary>
        public bool HasOrder { set; get; }

        public List<DetailInfo> DetailInfos { set; get; } = new List<DetailInfo>();
    }
}
